package com.dy;

import com.myrule.RuleConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @ClassName:
 * @Author: 仄言in
 * @Desctiption: (描述)
 * @Date: 2021/4/8 13:41
 * @Version 1.0 (版本)
 */
@SpringBootApplication
@EnableEurekaClient
//微服务启动的时候，就能加载我们的组件
@RibbonClient(name = "SPRINGCLOUD-PROVIDER",configuration = RuleConfig.class)
public class Springcloud80Application {
    public static void main(String[] args) {
        SpringApplication.run(Springcloud80Application.class,args);
    }
}
